<?php
/**
 * @file promotionstat.php $
 * @author LinLin (linlin@haibao.com) $
 * @date 2015-9-9 下午1:53:36 $
 * @brief  $
 */
namespace haibao\app\business;

class PromotionStat extends \haibao\app\business\Base {

	/**
	 * @var $_instance
	 */
	private static $_instance;

	/**
	 * instance()
	 */
	private static function instance(){
		if(!self::$_instance){
			self::$_instance = new \haibao\app\data\PromotionStat();
		}
		return self::$_instance;
	}
	
	public static function getPronotionStatCount(){
		return self::instance()->getAllCount();
	}
	
	public static function getPronotionStatList($query){
		return self::instance()->getAll($query);
	}
}
